#include <iostream>
#include "CalcExpr.h"

using namespace std;

int main()
{
	//string expr = "1 + 2 * 3 + 20 * 5 - 10 * 5";
	//string expr = "(1 + 2) * 3";
	string expr = "(1 + 2) * 3 * ( 9 / (1 + 2) )";
	cout << CalcExpr(expr) << endl;
	return 0;
}